﻿@model List<Language>

<li class="dropdown">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">@Word("General.Languages") <span class="caret"></span></a>
    <ul class="dropdown-menu" role="menu">
        @foreach (var language in Model)
        {
            <li>@Html.ActionLink(language.Name, "ChangeCulture", "Home", new { dilId = language.Id, lang = language.Code, returnUrl = this.Request.RawUrl }, null)</li>
        }
    </ul>
</li>